package com.yzf.bean;

import java.io.Serializable;

/**
 * Created by dell on 2016/1/20.
 */
public class PersonBean implements Serializable{
    private long id;
    private String name;
    private int img;
    public PersonBean(long id, String name, int img) {
        this.id = id;
        this.name = name;
        this.img = img;
    }


    public int getImg() {
        return img;
    }

    public void setImg(int img) {
        this.img = img;
    }

    public PersonBean(){}



    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "PersonBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
